<h1><a href="<?=$url;?>">Dnevne novine Dan</a></h1>

<div id="user_menu">

    <dl>
        <dt><span>Актуелно</span></dt>
        <dd> 
            <a title="<?=$articles_line[1]['title']?>" href="#"><?=$articles_line[5]['title']?></a>
        </dd>
    </dl>

    <ul class="login">
        <li class="log">
            <?
                if($this->session->userdata('is_logged')) //Ako je korisnik logovan
                {?>
                Добродошли¸ <?=$this->session->userdata('firstname').' '.$this->session->userdata('lastname')?>
                <?}else{?>
                <a href="#" title="Login" onclick="do_popup({url: base_url+'site_users/show_login'});return false;">Prijavi se</a></li>   
            <?}?>

        <?
            if(!$this->session->userdata('is_logged')) //Ako je korisnik logovan
            {?>
            <li class="reg"><a href="#" title="Registruj se" onclick="do_popup({url: base_url+'site_users/show_register'});return false;">Registruj se</a></li>
            <?}?>

        <li class="src">
            <form action="<?=base_url()?>" method="post" id="keywordForm">
                <fieldset class="search">
                    <span><input type="text" value="" name="keyword"></span>
                    <input type="submit" class="searchBtn" value="">
                </fieldset>
            </form>
        </li>
    </ul>

</div>

<?$this->load->view('nav/main');?>